﻿<UserControl x:Class="MenuModule.Views.MenuView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:viewModelLocator="http:\\www.codeplex.com\MEFedMVVM"
             viewModelLocator:ViewModelLocator.ViewModel="MenuViewModel"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
		<StackPanel Orientation="Horizontal" Background="DarkBlue">
			<StackPanel.Resources>
				<Style TargetType="Button">
					<Setter Property="Margin" Value="0,0,20,0" />
				</Style>
			</StackPanel.Resources>
			<Button Content="Show Ugly DataGrid" Command="{Binding OnShowUglyClick}" />
			<Button Content="Show Prettier View" Command="{Binding OnShowLessUglyClick}" />
			<Button Content="Block View Injection" Command="{Binding OnKeepCurrentView}" />
			<Button Content="Allow View Injection" Command="{Binding OnAllowViewsToSwitch}" />
			<TextBlock Text="---- This is all in the Menu module ----" Foreground="White" />
		</StackPanel>
	</Grid>
</UserControl>
